package com.wzq.shiro.shirodemo.Exception;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author wzq
 * @create 2020/4/7
 * @description: 自定义错误异常
 */
@Getter
@AllArgsConstructor
public class WErrorException extends RuntimeException{

    private String key;

    private String msg;

    public WErrorException(String key) {
        this.key = key;
    }
}
